package com.test.design.pattern.iterator;

/**
 * @ClasName StudentAggregate
 * @Descripution TODO
 * @Author USER
 * @Date 2022/2/25 9:03
 * @Version V1.0
 */
public interface StudentAggregate {

    //添加学生功能
    void addStudent(Student stu);

    //删除学生功能
    void removeStudent(Student stu);

    //获取迭代器对象功能
    StudentIterator getStudentIterator();

}
